package com.gyt.manager.service.impl;

import com.gyt.manager.common.component.RedisComponent;
import com.gyt.manager.dao.risk.PlanUserMapper;
import com.gyt.manager.dao.risk.TaskInfoOfflineMapper;
import com.gyt.manager.domain.risk.PlanUser;
import com.gyt.manager.service.PlanService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.Assert;


/**
 * @author v_yantgao
 */
@Service
public class PlanServiceImpl implements PlanService {

    private static final Logger logger = LoggerFactory.getLogger(PlanServiceImpl.class);
    @Autowired
    PlanUserMapper planUserMapper;
    @Autowired
    RedisComponent redisComponent;
    @Autowired
    TaskInfoOfflineMapper taskInfoOfflineMapper;


    @Override
    public PlanUser findPlanUserById(Integer id) {
        Assert.notNull(id, "参数为空");
        return planUserMapper.selectByPrimaryKey(id);
    }



}
